import React from "react"

function Arrangement(props) {
  return (
    <div className="function">
      <button onClick={props.switchArrangement}>
      {props.isAscending ? "升序排列" : "降序排列"}
      </button>
    </div>
  )
}

export default Arrangement
